Validation Testing

We recommend testing rules using ModHeader, a Chrome add-on that allows you to activate rules for your session without changing your site status.

To test your rule configuration:

  1. Confirm that your session is a bypass session:
    1. In Chrome, in your site, click View > Developer > Developer Tools.
    2. In the Console tab, type Yo.rum.get().optState and press Enter.

      If you are running a bypass session, the console returns "bypass".

  2. Add ModHeader to Chrome:
    1. In the search bar, type ModHeader and click the chrome.google.com result.

      The ModHeader page of the Chrome Web Store page appears.

    2. Click Add to Chrome.

      A dialog box appears asking if you want to add ModHeader.

    3. Click Add Extension.
  3. In Chrome, click .
  4. In the ModHeader pane, for Name, type x-yottaa-opt-state.
  5. For Value, type active.

    The Request Header is automatically selected.

  6. Refresh the page.

    The session appears with Yottaa active. This is not visible to customers.

  7. Confirm that Yottaa is active for your session:
    1. Click View > Developer > Developer Tools.
    2. In the Console tab, type Yo.rum.get().optState and press Enter.

  8. Check the site for errors. We recommend using our quality assurance checklist in addition to your company’s standard site QA.
  9. If you find an error, check if it is caused by Yottaa:
    1. Click and clear x-yottaa-opt-state.

    2. Refresh the site and check for the error.

      If the error still appears, it is not a Yottaa error.

      If the error resolves, contact your Yottaa support representative.